package com.ringtheweb.persistence.dao;

import com.ringtheweb.model.Role;

/**
 * DAO for {@link Role}
 * @author ldewavri
 *
 */
public interface IRoleDAO extends IGenericDAO<Role, Long>{
	
	
	/**
	 * Find a role by its name
	 * @param name the role's name
	 * @return the {@link Role} or null if not found
	 */
	public Role findByName(String name);

}
